package com.lkz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lkz.service.IOrdersService;
import com.lkz.entity.Orders;
import com.lkz.mapper.OrdersMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements IOrdersService {
    @Resource
    private OrdersMapper ordersMapper;
    @Override
    public IPage<Orders> selectList(Page<Orders> page) {
        return ordersMapper.selectList(page);
    }

    @Override
    public IPage<Orders> selectDelList(Page<Orders> page) {
        return ordersMapper.selectDelList(page);
    }
}
